home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 889 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.3 KB

  1. Path: news.compuserve.com!newsmaster
  2. From: JamesCurran@CIS.CompuServe.Com (James M. Curran)
  3. Newsgroups: comp.edu,comp.lang.c,comp.lang.c++
  4. Subject: Re: C or C++ for a 14-year old?
  5. Date: Mon, 08 Jan 1996 04:26:01 GMT
  6. Organization: CompuServe Incorporated
  7. Message-ID: <4cq6cr$t51@dub-news-svc-1.compuserve.com>
  8. References: <4b30ld$lp2$1@mhafc.production.compuserve.com> <w31V7MD4ED1aLz3@dexam.another.gun.de> <dschrage.23.152EBB70@indirect.com>
  9. NNTP-Posting-Host: ad08-014.compuserve.com
  10. X-Newsreader: Forte Free Agent 1.0.82
  11.  
  12. dschrage@indirect.com (Dan Schrage) wrote:
  13.  
  14. >Moreover, C is the 
  15. >most practical language that one can learn, because it can do basically 
  16. >anything, even system-level programming using a variety of toolkits (until 
  17. >you get into hard-core assembler programming, which is where I am at now).
  18.  
  19.     My choice would be C++, for two simple reasons:  With a porper string
  20. classs, you eliminate the need for C's rather insane "string as an
  21. array of really tiny integers" model, the #1 cause of trouble among
  22. beginning C programmer.  In fact, with a standard class library that's
  23. in any way competnet, you can virtually do with any pointers in your
  24. code (the #2 cause of trouble).  And with new/delete with those rare
  25. cases where you insist on having a pointer, you avoid the troble of
  26. malloc/free (#3 cause of trouble...)
  27.  
  28.